﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Account/UserProfileView.master" AutoEventWireup="true"
    CodeBehind="ChurchInformationView.aspx.cs" Inherits="Churchtoolkit.Web.ChurchInformationView"
    MaintainScrollPositionOnPostback="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="tabContainer" runat="server">
    <table width="100%" class="Details">
        <tr>
            <td class="label">
                <asp:Label ID="lblConfessionFather" runat="server" Text="Confession father"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtConfessionfather" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Label runat="server" Text="Committies"></asp:Label>
                <hr />
            </td>
        </tr>
    </table>
    <br />
    <br />
    <fieldset>
        <legend>Committiees </legend>
        <asp:DataList ID="dlistcommities" runat="server" Width="100%">
            <ItemTemplate>
                <table width="100%">
                    <tr>
                        <td>
                            <%# Eval("Name") %>
                            -
                            <%# Eval("Church") %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="lblOccurance"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Button runat="server" ID="btnEdit" Text="Edit" CausesValidation="false" />
                            <asp:Button runat="server" ID="btnRemove" Text="Remove" CausesValidation="false" />
                        </td>
                    </tr>
                </table>
                <hr />
            </ItemTemplate>
        </asp:DataList>
    </fieldset>
    <asp:Button runat="server" ID="btnAddNew" Text="Add New" />

    <ct:Window runat="server" Width="800px" Title="hello popup">
        <ContentTemplate>
            <table>
            <tr>
                <td class="label">
                    <asp:Label runat="server" ID="lblCommittieName" Text="Committee"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtCommitty" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="0001"
                        Display="Dynamic" Text="*" ControlToValidate="txtCommitty">
                    </asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtCommitty"
                        ErrorMessage='0006' ValidationExpression="([a-z]|[A-Z]|[0-9])*" Display="Dynamic">
                    </asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="label">
                    <asp:Label runat="server" ID="lblChurchName" Text="Church"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtChurch" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="0001"
                        Display="Dynamic" Text="*" ControlToValidate="txtChurch">
                    </asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtChurch"
                        ErrorMessage='0006' ValidationExpression="([a-z]|[A-Z]|[0-9])*" Display="Dynamic">
                    </asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="label">
                    <asp:RadioButton ID="rdbWeekly" runat="server" Text="Weekly" GroupName="Occurance"
                        TextAlign="Left" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="occuer every"></asp:Label>&nbsp;&nbsp;
                    <asp:TextBox ID="txtoccuerweekly" runat="server" Width="50px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="0001"
                        Text="*" ControlToValidate="txtoccuerweekly" Display="Dynamic">
                    </asp:RequiredFieldValidator>
                    <asp:Label ID="lblWeeks" runat="server" Text="Week(s)"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:DropDownList ID="ddlDayofweek" runat="server" Width="70px">
                        <asp:ListItem Value="1">Friday</asp:ListItem>
                        <asp:ListItem Value="2">Saturday</asp:ListItem>
                        <asp:ListItem Value="3">Sunday</asp:ListItem>
                        <asp:ListItem Value="4">Monday</asp:ListItem>
                        <asp:ListItem Value="5">Tuesday</asp:ListItem>
                        <asp:ListItem Value="6">Wednesday</asp:ListItem>
                        <asp:ListItem Value="7">Thursday</asp:ListItem>
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddltimeofweek" runat="server" Width="70px">
                        <asp:ListItem>12 : 00 PM</asp:ListItem>
                        <asp:ListItem>12 : 30 PM</asp:ListItem>
                        <asp:ListItem>1 : 00 PM</asp:ListItem>
                        <asp:ListItem>1 : 30 PM</asp:ListItem>
                        <asp:ListItem>2 : 00 PM</asp:ListItem>
                        <asp:ListItem>2 : 30 PM</asp:ListItem>
                        <asp:ListItem>3 : 00 PM</asp:ListItem>
                        <asp:ListItem>3 : 30 PM</asp:ListItem>
                        <asp:ListItem>4 : 00 PM</asp:ListItem>
                        <asp:ListItem>4 : 30 PM</asp:ListItem>
                        <asp:ListItem>5 : 00 PM</asp:ListItem>
                        <asp:ListItem>5 : 30 PM</asp:ListItem>
                        <asp:ListItem>6 : 00 PM</asp:ListItem>
                        <asp:ListItem>6 : 30 PM</asp:ListItem>
                        <asp:ListItem>7 : 00 PM</asp:ListItem>
                        <asp:ListItem>7 : 30 PM</asp:ListItem>
                        <asp:ListItem>8 : 00 PM</asp:ListItem>
                        <asp:ListItem>8 : 30 PM</asp:ListItem>
                        <asp:ListItem>9 : 00 PM</asp:ListItem>
                        <asp:ListItem>9 : 30 PM</asp:ListItem>
                        <asp:ListItem>10 : 00 PM</asp:ListItem>
                        <asp:ListItem>10 : 30 PM</asp:ListItem>
                        <asp:ListItem>11 : 00 PM</asp:ListItem>
                        <asp:ListItem>11 : 30 PM</asp:ListItem>
                        <asp:ListItem>12 : 00 AM</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="label">
                    <asp:RadioButton ID="rdbMonthly" runat="server" Text="Monthly" GroupName="Occurance"
                        TextAlign="Left" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:RadioButton ID="rdbDayofmonth" runat="server" Text="Day" GroupName="Monthly" />
                    <asp:TextBox ID="txtDayofmonth" runat="server" Width="50px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="0001"
                        Text="*" ControlToValidate="txtDayofmonth" Display="Dynamic">
                    </asp:RequiredFieldValidator>
                    <asp:Label ID="lblDay" runat="server" Text="Of every"></asp:Label>
                    <asp:TextBox ID="txtOccuorEeveryMonth" runat="server" Width="50px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="0001"
                        Text="*" ControlToValidate="txtOccuorEeveryMonth" Display="Dynamic">
                    </asp:RequiredFieldValidator>
                    <asp:Label ID="lbl2Day" runat="server" Text="Month(s)"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:RadioButton runat="server" ID="rbn3Monthly" Text="The" GroupName="Monthly" />
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="70px">
                        <asp:ListItem>First</asp:ListItem>
                        <asp:ListItem>Second</asp:ListItem>
                        <asp:ListItem>Third</asp:ListItem>
                        <asp:ListItem>Fourth</asp:ListItem>
                    </asp:DropDownList>
                    <asp:DropDownList ID="DropDownList2" runat="server" Width="70px">
                        <asp:ListItem>Friday</asp:ListItem>
                        <asp:ListItem>Saturday</asp:ListItem>
                        <asp:ListItem>Sunday</asp:ListItem>
                        <asp:ListItem>Monday</asp:ListItem>
                        <asp:ListItem>Tuesday</asp:ListItem>
                        <asp:ListItem>Wednesday</asp:ListItem>
                        <asp:ListItem>Thursday</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Label ID="Label2" runat="server" Text="Of every"></asp:Label>
                    <asp:TextBox runat="server" ID="txtMonthNumber" Width="50px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="0001"
                        Text="*" ControlToValidate="txtMonthNumber" Display="Dynamic">
                    </asp:RequiredFieldValidator>
                    <asp:Label ID="Label3" runat="server" Text="Month(s)"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:CheckBox ID="chkserve" runat="server" TextAlign="Left" Text="Yes I Serve in this Committie as" />
                    <asp:DropDownList ID="ddlserve" runat="server" Width="50%">
                        <asp:ListItem Value="1">Chef Servant</asp:ListItem>
                        <asp:ListItem Value="2">Servant</asp:ListItem>
                        <asp:ListItem Value="3">CoChef Servant</asp:ListItem>
                        <asp:ListItem Value="4">Prist</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td align="right">
                    <asp:Button ID="btnremove" runat="server" Text="Cancel" />
                    <asp:Button ID="btnSave" runat="server" Text="Save" />
                </td>
            </tr>
            <tr>
                <td colspan="2" class="footer">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
                </td>
            </tr>
        </table>
        </ContentTemplate>
    </ct:Window>
</asp:Content>
